    package net.minecraft.src;

    public class mod_BlockSticky extends BaseModMp
    {

       public static final Block blockSticky;

	   public static final int  stoneStickyId = 0;
	   public static final int  planksStickyId = 1;
	   public static final int  glassStickyId = 2;
	   public static final int  stoneBrickStickyId = 3;
	   public static final int  cobleStoneStickyId = 4;
	   public static final int  brickStickyId = 5;
	   public static final int  stoneConductiveStickyIdActive = 6;
	   public static final int  stoneConductiveStickyIdIdle = 7;
	   
	   
	   public  static final Item stickyItem;
	   
	   public  static  final String  stoneStickyName = "stickyStone";
	   public  static  final String  planksStickyName = "stickyPlanks";
	   public  static  final String  glassStickyName = "stickyGlass";
	   public  static  final String  stoneBrickStickyName = "stickyStoneBrick";
	   public  static  final String  coblestoneStickyName = "stickyCoblestone";
	   public  static  final String  brickStickyName = "stickyBrick";
	   public  static  final String  stoneConductiveStickyName = "stickyConductiveStone";	   
	   
	   
	   
	   public static  int  stoneStickyTextureId;
	   public static  int  planksStickyTextureId;
	   public static  int  glassStickyTextureId;
	   public static  int  stoneBricksStickyTextureId;
	   public static  int  cobleStoneStickyTextureId;
	   public static  int  brickStickyTextureId;
	   public static  int  stoneConductiveStickyTextureId;
	   
	   public static  int  itemstoneStickyTexture;
	   public static  int  itemStoneBrickStickyTexture;
	   public static  int  itemGlassStickyTexture;
	   public static  int  itemPlanksStickyTexture;
	   public static  int  itemCobleStoneStickyTexture;
	   public static  int  itemBricksStickyTexture;
	   public static  int  itemConductiveStickyTexture;
	   public  static final int stickyId =  ReadIdFile.getIdFromFile(BlockSticky.class);
       static
       {
           blockSticky = (new BlockSticky( stickyId )).setHardness(0.5F).setStepSound(Block.soundStoneFootstep).setBlockName("blockSticky").setRequiresSelfNotify(); 
           stickyItem = new ItemBlockSticky(stickyId, blockSticky).setItemName("sticky");
       }                    

       public mod_BlockSticky()
       {

          ModLoader.registerBlock(blockSticky);
          
            
          itemstoneStickyTexture = ModLoader.addOverride("/gui/items.png", "/mod/itemStoneSticky.png");
          itemStoneBrickStickyTexture = ModLoader.addOverride("/gui/items.png", "/mod/itemStoneBrickSticky.png");
   	      itemGlassStickyTexture = ModLoader.addOverride("/gui/items.png", "/mod/itemGlassSticky.png");
   	      itemPlanksStickyTexture = ModLoader.addOverride("/gui/items.png", "/mod/itemWoodenSticky.png");
   	      itemCobleStoneStickyTexture = ModLoader.addOverride("/gui/items.png", "/mod/itemCobleStoneSticky.png");
   	      itemBricksStickyTexture = ModLoader.addOverride("/gui/items.png", "/mod/itemStickyBrickTexture.png");
   	      itemConductiveStickyTexture = ModLoader.addOverride("/gui/items.png", "/mod/itemConductiveStoneSticky.png");
          
          ModLoader.addLocalization("item.sticky.stickyStone.name", "Sticky Stone");
          ModLoader.addLocalization("item.sticky.stickyPlanks.name", "Sticky Planks");
          ModLoader.addLocalization("item.sticky.stickyGlass.name", "Sticky Glass");
          ModLoader.addLocalization("item.sticky.stickyStoneBrick.name", "Sticky Stone Brick");
          ModLoader.addLocalization("item.sticky.stickyCoblestone.name", "Sticky Coblestone");
          ModLoader.addLocalization("item.sticky.stickyBrick.name", "Sticky Brick");        
          ModLoader.addLocalization("item.sticky.stickyConductiveStone.name", "Sticky Conductive Stone");   
          
          
		  stoneStickyTextureId = ModLoader.addOverride("/terrain.png", "/mod/stickyStone.png");
	      planksStickyTextureId = ModLoader.addOverride("/terrain.png", "/mod/stickyPlanks.png");
	      glassStickyTextureId = ModLoader.addOverride("/terrain.png", "/mod/stickyGlass.png");
		  stoneBricksStickyTextureId = ModLoader.addOverride("/terrain.png", "/mod/stickyStoneBrick.png");
		  cobleStoneStickyTextureId = ModLoader.addOverride("/terrain.png", "/mod/stickyCoblestone.png");
		  brickStickyTextureId = ModLoader.addOverride("/terrain.png", "/mod/stickyBrick.png");
		  stoneConductiveStickyTextureId = ModLoader.addOverride("/terrain.png", "/mod/conductiveStickyStone.png");     
    // ModLoader.addName(blockSticky, "sticky Block");        
	          
	          
			ModLoader.addRecipe(new ItemStack(mod_BlockSticky.stickyItem, 1, stoneStickyId), new Object[] {
				  "G", "S", Character.valueOf('S'), Block.stone, Character.valueOf('G'), Item.slimeBall
	   } );   
     
		ModLoader.addRecipe(new ItemStack(mod_BlockSticky.stickyItem, 1,planksStickyId ), new Object[] {
				  "S", "P", Character.valueOf('P'), Block.planks, Character.valueOf('S'), Item.slimeBall
	   } ); 
     
		ModLoader.addRecipe(new ItemStack(mod_BlockSticky.stickyItem, 1,glassStickyId), new Object[] {
				  "S", "G", Character.valueOf('G'), Block.glass, Character.valueOf('S'), Item.slimeBall
	   } ); 
     
		ModLoader.addRecipe(new ItemStack(mod_BlockSticky.stickyItem, 1,stoneBrickStickyId), new Object[] {
				  "G", "A", Character.valueOf('A'), Block.stoneBrick, Character.valueOf('G'), Item.slimeBall
	   } );    
     
		ModLoader.addRecipe(new ItemStack(mod_BlockSticky.stickyItem, 1,cobleStoneStickyId), new Object[] {
				  "S", "C", Character.valueOf('C'), Block.cobblestone, Character.valueOf('S'), Item.slimeBall
	   } );    
      
		ModLoader.addRecipe(new ItemStack(mod_BlockSticky.stickyItem, 1,brickStickyId), new Object[] {
				  "S", "B", Character.valueOf('B'), Block.brick, Character.valueOf('S'), Item.slimeBall
	   } );  
		ModLoader.addRecipe(new ItemStack(mod_BlockSticky.stickyItem, 1, stoneConductiveStickyIdIdle), new Object[] {
			  " G ", "RSR", Character.valueOf('S'), Block.stone, Character.valueOf('G'), Item.slimeBall,  Character.valueOf('R'), Item.redstone
		} );   

    }
    public String getVersion() {
            // TODO Auto-generated method stub
            return null;
    }

   
    public void load() {
            // TODO Auto-generated method stub
            
    }
   
       public String Version()
       {
          return "1.1.0";
       }
    }
